package com.common.server.entity.project;

import com.baomidou.mybatisplus.annotation.*;
import com.common.server.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目信息
 *
 * @TableName project_info
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "project_info")
@Data
@ApiModel(value = "项目信息")
public class ProjectInfo extends BaseEntity implements Serializable {
    /**
     * 序号
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "项目序号", required = false)
    private Long id;

    /**
     * 项目名
     */
    @ApiModelProperty(value = "项目名", required = false)
    private String projectName;

    /**
     * 项目编号
     */
    @ApiModelProperty(value = "项目编号", required = false)
    private String projectNumber;

    /**
     * 所属产品
     */
    @ApiModelProperty(value = "所属产品", required = false)
    private String productName;

    /**
     * 项目代码
     */
    @ApiModelProperty(value = "项目代码", required = false)
    private String projectCode;

    /**
     * 项目经理
     */
    @ApiModelProperty(value = "项目经理", required = false)
    private String manager;

    /**
     * 项目描述
     */
    @ApiModelProperty(value = "项目描述", required = false)
    private String description;

    /**
     * 项目状态(0-在建中, 1-已完工, 2-已报废)
     */
    @ApiModelProperty(value = "项目状态(0-在建中, 1-已完工, 2-已报废)", required = false)
    private Integer status;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除", required = false)
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}